﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptManager.Data.Domain.Entities
{
    public class Author
    {
        public virtual int ID { get; set; }
        public virtual string FirstName { get; set; }
        public virtual string LastName { get; set; }

        //check to why this is static???
        static public Author New(string firstName, string lastName)
        {
            Author author = new Author();
            author.FirstName = firstName;
            author.LastName = lastName;

            return author;
        }
    }
}